package com.ts.content.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ts.content.dao.DiscussDao;
import com.ts.content.dao.PostDao;
import com.ts.content.entity.DiscussEntity;
import com.ts.content.entity.PostEntity;
import com.ts.content.service.DiscussService;
import com.ts.content.service.PostService;
import org.springframework.stereotype.Service;

@Service
public class PostServiceImpl extends ServiceImpl<PostDao, PostEntity> implements PostService {
    @Override
    public IPage<PostEntity> getPostList(IPage<PostEntity> page) {
        return baseMapper.getPostList(page);
    }
}
